package com.yckj.activechicken.business.purchase.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PurInquiryDetailBillExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PurInquiryDetailBillExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPurInquiryDetailIdIsNull() {
            addCriterion("pur_inquiry_detail_id is null");
            return (Criteria) this;
        }

        public Criteria andPurInquiryDetailIdIsNotNull() {
            addCriterion("pur_inquiry_detail_id is not null");
            return (Criteria) this;
        }

        public Criteria andPurInquiryDetailIdEqualTo(String value) {
            addCriterion("pur_inquiry_detail_id =", value, "purInquiryDetailId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryDetailIdNotEqualTo(String value) {
            addCriterion("pur_inquiry_detail_id <>", value, "purInquiryDetailId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryDetailIdGreaterThan(String value) {
            addCriterion("pur_inquiry_detail_id >", value, "purInquiryDetailId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryDetailIdGreaterThanOrEqualTo(String value) {
            addCriterion("pur_inquiry_detail_id >=", value, "purInquiryDetailId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryDetailIdLessThan(String value) {
            addCriterion("pur_inquiry_detail_id <", value, "purInquiryDetailId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryDetailIdLessThanOrEqualTo(String value) {
            addCriterion("pur_inquiry_detail_id <=", value, "purInquiryDetailId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryDetailIdLike(String value) {
            addCriterion("pur_inquiry_detail_id like", value, "purInquiryDetailId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryDetailIdNotLike(String value) {
            addCriterion("pur_inquiry_detail_id not like", value, "purInquiryDetailId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryDetailIdIn(List<String> values) {
            addCriterion("pur_inquiry_detail_id in", values, "purInquiryDetailId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryDetailIdNotIn(List<String> values) {
            addCriterion("pur_inquiry_detail_id not in", values, "purInquiryDetailId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryDetailIdBetween(String value1, String value2) {
            addCriterion("pur_inquiry_detail_id between", value1, value2, "purInquiryDetailId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryDetailIdNotBetween(String value1, String value2) {
            addCriterion("pur_inquiry_detail_id not between", value1, value2, "purInquiryDetailId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdIsNull() {
            addCriterion("pur_main_id is null");
            return (Criteria) this;
        }

        public Criteria andPurMainIdIsNotNull() {
            addCriterion("pur_main_id is not null");
            return (Criteria) this;
        }

        public Criteria andPurMainIdEqualTo(String value) {
            addCriterion("pur_main_id =", value, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdNotEqualTo(String value) {
            addCriterion("pur_main_id <>", value, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdGreaterThan(String value) {
            addCriterion("pur_main_id >", value, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdGreaterThanOrEqualTo(String value) {
            addCriterion("pur_main_id >=", value, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdLessThan(String value) {
            addCriterion("pur_main_id <", value, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdLessThanOrEqualTo(String value) {
            addCriterion("pur_main_id <=", value, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdLike(String value) {
            addCriterion("pur_main_id like", value, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdNotLike(String value) {
            addCriterion("pur_main_id not like", value, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdIn(List<String> values) {
            addCriterion("pur_main_id in", values, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdNotIn(List<String> values) {
            addCriterion("pur_main_id not in", values, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdBetween(String value1, String value2) {
            addCriterion("pur_main_id between", value1, value2, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdNotBetween(String value1, String value2) {
            addCriterion("pur_main_id not between", value1, value2, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryIdIsNull() {
            addCriterion("pur_inquiry_id is null");
            return (Criteria) this;
        }

        public Criteria andPurInquiryIdIsNotNull() {
            addCriterion("pur_inquiry_id is not null");
            return (Criteria) this;
        }

        public Criteria andPurInquiryIdEqualTo(String value) {
            addCriterion("pur_inquiry_id =", value, "purInquiryId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryIdNotEqualTo(String value) {
            addCriterion("pur_inquiry_id <>", value, "purInquiryId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryIdGreaterThan(String value) {
            addCriterion("pur_inquiry_id >", value, "purInquiryId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryIdGreaterThanOrEqualTo(String value) {
            addCriterion("pur_inquiry_id >=", value, "purInquiryId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryIdLessThan(String value) {
            addCriterion("pur_inquiry_id <", value, "purInquiryId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryIdLessThanOrEqualTo(String value) {
            addCriterion("pur_inquiry_id <=", value, "purInquiryId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryIdLike(String value) {
            addCriterion("pur_inquiry_id like", value, "purInquiryId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryIdNotLike(String value) {
            addCriterion("pur_inquiry_id not like", value, "purInquiryId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryIdIn(List<String> values) {
            addCriterion("pur_inquiry_id in", values, "purInquiryId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryIdNotIn(List<String> values) {
            addCriterion("pur_inquiry_id not in", values, "purInquiryId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryIdBetween(String value1, String value2) {
            addCriterion("pur_inquiry_id between", value1, value2, "purInquiryId");
            return (Criteria) this;
        }

        public Criteria andPurInquiryIdNotBetween(String value1, String value2) {
            addCriterion("pur_inquiry_id not between", value1, value2, "purInquiryId");
            return (Criteria) this;
        }

        public Criteria andGoodFlagIsNull() {
            addCriterion("good_flag is null");
            return (Criteria) this;
        }

        public Criteria andGoodFlagIsNotNull() {
            addCriterion("good_flag is not null");
            return (Criteria) this;
        }

        public Criteria andGoodFlagEqualTo(String value) {
            addCriterion("good_flag =", value, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagNotEqualTo(String value) {
            addCriterion("good_flag <>", value, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagGreaterThan(String value) {
            addCriterion("good_flag >", value, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagGreaterThanOrEqualTo(String value) {
            addCriterion("good_flag >=", value, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagLessThan(String value) {
            addCriterion("good_flag <", value, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagLessThanOrEqualTo(String value) {
            addCriterion("good_flag <=", value, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagLike(String value) {
            addCriterion("good_flag like", value, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagNotLike(String value) {
            addCriterion("good_flag not like", value, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagIn(List<String> values) {
            addCriterion("good_flag in", values, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagNotIn(List<String> values) {
            addCriterion("good_flag not in", values, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagBetween(String value1, String value2) {
            addCriterion("good_flag between", value1, value2, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andGoodFlagNotBetween(String value1, String value2) {
            addCriterion("good_flag not between", value1, value2, "goodFlag");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNull() {
            addCriterion("company_id is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNotNull() {
            addCriterion("company_id is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdEqualTo(Integer value) {
            addCriterion("company_id =", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotEqualTo(Integer value) {
            addCriterion("company_id <>", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThan(Integer value) {
            addCriterion("company_id >", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("company_id >=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThan(Integer value) {
            addCriterion("company_id <", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThanOrEqualTo(Integer value) {
            addCriterion("company_id <=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIn(List<Integer> values) {
            addCriterion("company_id in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotIn(List<Integer> values) {
            addCriterion("company_id not in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdBetween(Integer value1, Integer value2) {
            addCriterion("company_id between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("company_id not between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIsNull() {
            addCriterion("company_name is null");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIsNotNull() {
            addCriterion("company_name is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyNameEqualTo(String value) {
            addCriterion("company_name =", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotEqualTo(String value) {
            addCriterion("company_name <>", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameGreaterThan(String value) {
            addCriterion("company_name >", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameGreaterThanOrEqualTo(String value) {
            addCriterion("company_name >=", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLessThan(String value) {
            addCriterion("company_name <", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLessThanOrEqualTo(String value) {
            addCriterion("company_name <=", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLike(String value) {
            addCriterion("company_name like", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotLike(String value) {
            addCriterion("company_name not like", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIn(List<String> values) {
            addCriterion("company_name in", values, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotIn(List<String> values) {
            addCriterion("company_name not in", values, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameBetween(String value1, String value2) {
            addCriterion("company_name between", value1, value2, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotBetween(String value1, String value2) {
            addCriterion("company_name not between", value1, value2, "companyName");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(String value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(String value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(String value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(String value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(String value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(String value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLike(String value) {
            addCriterion("price like", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotLike(String value) {
            addCriterion("price not like", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<String> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<String> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(String value1, String value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(String value1, String value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andTaxRateIsNull() {
            addCriterion("tax_rate is null");
            return (Criteria) this;
        }

        public Criteria andTaxRateIsNotNull() {
            addCriterion("tax_rate is not null");
            return (Criteria) this;
        }

        public Criteria andTaxRateEqualTo(String value) {
            addCriterion("tax_rate =", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateNotEqualTo(String value) {
            addCriterion("tax_rate <>", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateGreaterThan(String value) {
            addCriterion("tax_rate >", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateGreaterThanOrEqualTo(String value) {
            addCriterion("tax_rate >=", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateLessThan(String value) {
            addCriterion("tax_rate <", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateLessThanOrEqualTo(String value) {
            addCriterion("tax_rate <=", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateLike(String value) {
            addCriterion("tax_rate like", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateNotLike(String value) {
            addCriterion("tax_rate not like", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateIn(List<String> values) {
            addCriterion("tax_rate in", values, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateNotIn(List<String> values) {
            addCriterion("tax_rate not in", values, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateBetween(String value1, String value2) {
            addCriterion("tax_rate between", value1, value2, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateNotBetween(String value1, String value2) {
            addCriterion("tax_rate not between", value1, value2, "taxRate");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeIsNull() {
            addCriterion("invoice_type is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeIsNotNull() {
            addCriterion("invoice_type is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeEqualTo(String value) {
            addCriterion("invoice_type =", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNotEqualTo(String value) {
            addCriterion("invoice_type <>", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeGreaterThan(String value) {
            addCriterion("invoice_type >", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeGreaterThanOrEqualTo(String value) {
            addCriterion("invoice_type >=", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeLessThan(String value) {
            addCriterion("invoice_type <", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeLessThanOrEqualTo(String value) {
            addCriterion("invoice_type <=", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeLike(String value) {
            addCriterion("invoice_type like", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNotLike(String value) {
            addCriterion("invoice_type not like", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeIn(List<String> values) {
            addCriterion("invoice_type in", values, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNotIn(List<String> values) {
            addCriterion("invoice_type not in", values, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeBetween(String value1, String value2) {
            addCriterion("invoice_type between", value1, value2, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNotBetween(String value1, String value2) {
            addCriterion("invoice_type not between", value1, value2, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andSupplyPeriodIsNull() {
            addCriterion("supply_period is null");
            return (Criteria) this;
        }

        public Criteria andSupplyPeriodIsNotNull() {
            addCriterion("supply_period is not null");
            return (Criteria) this;
        }

        public Criteria andSupplyPeriodEqualTo(String value) {
            addCriterion("supply_period =", value, "supplyPeriod");
            return (Criteria) this;
        }

        public Criteria andSupplyPeriodNotEqualTo(String value) {
            addCriterion("supply_period <>", value, "supplyPeriod");
            return (Criteria) this;
        }

        public Criteria andSupplyPeriodGreaterThan(String value) {
            addCriterion("supply_period >", value, "supplyPeriod");
            return (Criteria) this;
        }

        public Criteria andSupplyPeriodGreaterThanOrEqualTo(String value) {
            addCriterion("supply_period >=", value, "supplyPeriod");
            return (Criteria) this;
        }

        public Criteria andSupplyPeriodLessThan(String value) {
            addCriterion("supply_period <", value, "supplyPeriod");
            return (Criteria) this;
        }

        public Criteria andSupplyPeriodLessThanOrEqualTo(String value) {
            addCriterion("supply_period <=", value, "supplyPeriod");
            return (Criteria) this;
        }

        public Criteria andSupplyPeriodLike(String value) {
            addCriterion("supply_period like", value, "supplyPeriod");
            return (Criteria) this;
        }

        public Criteria andSupplyPeriodNotLike(String value) {
            addCriterion("supply_period not like", value, "supplyPeriod");
            return (Criteria) this;
        }

        public Criteria andSupplyPeriodIn(List<String> values) {
            addCriterion("supply_period in", values, "supplyPeriod");
            return (Criteria) this;
        }

        public Criteria andSupplyPeriodNotIn(List<String> values) {
            addCriterion("supply_period not in", values, "supplyPeriod");
            return (Criteria) this;
        }

        public Criteria andSupplyPeriodBetween(String value1, String value2) {
            addCriterion("supply_period between", value1, value2, "supplyPeriod");
            return (Criteria) this;
        }

        public Criteria andSupplyPeriodNotBetween(String value1, String value2) {
            addCriterion("supply_period not between", value1, value2, "supplyPeriod");
            return (Criteria) this;
        }

        public Criteria andSupplyNumberIsNull() {
            addCriterion("supply_number is null");
            return (Criteria) this;
        }

        public Criteria andSupplyNumberIsNotNull() {
            addCriterion("supply_number is not null");
            return (Criteria) this;
        }

        public Criteria andSupplyNumberEqualTo(String value) {
            addCriterion("supply_number =", value, "supplyNumber");
            return (Criteria) this;
        }

        public Criteria andSupplyNumberNotEqualTo(String value) {
            addCriterion("supply_number <>", value, "supplyNumber");
            return (Criteria) this;
        }

        public Criteria andSupplyNumberGreaterThan(String value) {
            addCriterion("supply_number >", value, "supplyNumber");
            return (Criteria) this;
        }

        public Criteria andSupplyNumberGreaterThanOrEqualTo(String value) {
            addCriterion("supply_number >=", value, "supplyNumber");
            return (Criteria) this;
        }

        public Criteria andSupplyNumberLessThan(String value) {
            addCriterion("supply_number <", value, "supplyNumber");
            return (Criteria) this;
        }

        public Criteria andSupplyNumberLessThanOrEqualTo(String value) {
            addCriterion("supply_number <=", value, "supplyNumber");
            return (Criteria) this;
        }

        public Criteria andSupplyNumberLike(String value) {
            addCriterion("supply_number like", value, "supplyNumber");
            return (Criteria) this;
        }

        public Criteria andSupplyNumberNotLike(String value) {
            addCriterion("supply_number not like", value, "supplyNumber");
            return (Criteria) this;
        }

        public Criteria andSupplyNumberIn(List<String> values) {
            addCriterion("supply_number in", values, "supplyNumber");
            return (Criteria) this;
        }

        public Criteria andSupplyNumberNotIn(List<String> values) {
            addCriterion("supply_number not in", values, "supplyNumber");
            return (Criteria) this;
        }

        public Criteria andSupplyNumberBetween(String value1, String value2) {
            addCriterion("supply_number between", value1, value2, "supplyNumber");
            return (Criteria) this;
        }

        public Criteria andSupplyNumberNotBetween(String value1, String value2) {
            addCriterion("supply_number not between", value1, value2, "supplyNumber");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andDataStatusIsNull() {
            addCriterion("data_status is null");
            return (Criteria) this;
        }

        public Criteria andDataStatusIsNotNull() {
            addCriterion("data_status is not null");
            return (Criteria) this;
        }

        public Criteria andDataStatusEqualTo(String value) {
            addCriterion("data_status =", value, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDataStatusNotEqualTo(String value) {
            addCriterion("data_status <>", value, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDataStatusGreaterThan(String value) {
            addCriterion("data_status >", value, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDataStatusGreaterThanOrEqualTo(String value) {
            addCriterion("data_status >=", value, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDataStatusLessThan(String value) {
            addCriterion("data_status <", value, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDataStatusLessThanOrEqualTo(String value) {
            addCriterion("data_status <=", value, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDataStatusLike(String value) {
            addCriterion("data_status like", value, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDataStatusNotLike(String value) {
            addCriterion("data_status not like", value, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDataStatusIn(List<String> values) {
            addCriterion("data_status in", values, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDataStatusNotIn(List<String> values) {
            addCriterion("data_status not in", values, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDataStatusBetween(String value1, String value2) {
            addCriterion("data_status between", value1, value2, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDataStatusNotBetween(String value1, String value2) {
            addCriterion("data_status not between", value1, value2, "dataStatus");
            return (Criteria) this;
        }

        public Criteria andDocumentInfoIsNull() {
            addCriterion("document_info is null");
            return (Criteria) this;
        }

        public Criteria andDocumentInfoIsNotNull() {
            addCriterion("document_info is not null");
            return (Criteria) this;
        }

        public Criteria andDocumentInfoEqualTo(String value) {
            addCriterion("document_info =", value, "documentInfo");
            return (Criteria) this;
        }

        public Criteria andDocumentInfoNotEqualTo(String value) {
            addCriterion("document_info <>", value, "documentInfo");
            return (Criteria) this;
        }

        public Criteria andDocumentInfoGreaterThan(String value) {
            addCriterion("document_info >", value, "documentInfo");
            return (Criteria) this;
        }

        public Criteria andDocumentInfoGreaterThanOrEqualTo(String value) {
            addCriterion("document_info >=", value, "documentInfo");
            return (Criteria) this;
        }

        public Criteria andDocumentInfoLessThan(String value) {
            addCriterion("document_info <", value, "documentInfo");
            return (Criteria) this;
        }

        public Criteria andDocumentInfoLessThanOrEqualTo(String value) {
            addCriterion("document_info <=", value, "documentInfo");
            return (Criteria) this;
        }

        public Criteria andDocumentInfoLike(String value) {
            addCriterion("document_info like", value, "documentInfo");
            return (Criteria) this;
        }

        public Criteria andDocumentInfoNotLike(String value) {
            addCriterion("document_info not like", value, "documentInfo");
            return (Criteria) this;
        }

        public Criteria andDocumentInfoIn(List<String> values) {
            addCriterion("document_info in", values, "documentInfo");
            return (Criteria) this;
        }

        public Criteria andDocumentInfoNotIn(List<String> values) {
            addCriterion("document_info not in", values, "documentInfo");
            return (Criteria) this;
        }

        public Criteria andDocumentInfoBetween(String value1, String value2) {
            addCriterion("document_info between", value1, value2, "documentInfo");
            return (Criteria) this;
        }

        public Criteria andDocumentInfoNotBetween(String value1, String value2) {
            addCriterion("document_info not between", value1, value2, "documentInfo");
            return (Criteria) this;
        }

        public Criteria andApprovalStatusIsNull() {
            addCriterion("approval_status is null");
            return (Criteria) this;
        }

        public Criteria andApprovalStatusIsNotNull() {
            addCriterion("approval_status is not null");
            return (Criteria) this;
        }

        public Criteria andApprovalStatusEqualTo(String value) {
            addCriterion("approval_status =", value, "approvalStatus");
            return (Criteria) this;
        }

        public Criteria andApprovalStatusNotEqualTo(String value) {
            addCriterion("approval_status <>", value, "approvalStatus");
            return (Criteria) this;
        }

        public Criteria andApprovalStatusGreaterThan(String value) {
            addCriterion("approval_status >", value, "approvalStatus");
            return (Criteria) this;
        }

        public Criteria andApprovalStatusGreaterThanOrEqualTo(String value) {
            addCriterion("approval_status >=", value, "approvalStatus");
            return (Criteria) this;
        }

        public Criteria andApprovalStatusLessThan(String value) {
            addCriterion("approval_status <", value, "approvalStatus");
            return (Criteria) this;
        }

        public Criteria andApprovalStatusLessThanOrEqualTo(String value) {
            addCriterion("approval_status <=", value, "approvalStatus");
            return (Criteria) this;
        }

        public Criteria andApprovalStatusLike(String value) {
            addCriterion("approval_status like", value, "approvalStatus");
            return (Criteria) this;
        }

        public Criteria andApprovalStatusNotLike(String value) {
            addCriterion("approval_status not like", value, "approvalStatus");
            return (Criteria) this;
        }

        public Criteria andApprovalStatusIn(List<String> values) {
            addCriterion("approval_status in", values, "approvalStatus");
            return (Criteria) this;
        }

        public Criteria andApprovalStatusNotIn(List<String> values) {
            addCriterion("approval_status not in", values, "approvalStatus");
            return (Criteria) this;
        }

        public Criteria andApprovalStatusBetween(String value1, String value2) {
            addCriterion("approval_status between", value1, value2, "approvalStatus");
            return (Criteria) this;
        }

        public Criteria andApprovalStatusNotBetween(String value1, String value2) {
            addCriterion("approval_status not between", value1, value2, "approvalStatus");
            return (Criteria) this;
        }

        public Criteria andApprovalNoteIsNull() {
            addCriterion("approval_note is null");
            return (Criteria) this;
        }

        public Criteria andApprovalNoteIsNotNull() {
            addCriterion("approval_note is not null");
            return (Criteria) this;
        }

        public Criteria andApprovalNoteEqualTo(String value) {
            addCriterion("approval_note =", value, "approvalNote");
            return (Criteria) this;
        }

        public Criteria andApprovalNoteNotEqualTo(String value) {
            addCriterion("approval_note <>", value, "approvalNote");
            return (Criteria) this;
        }

        public Criteria andApprovalNoteGreaterThan(String value) {
            addCriterion("approval_note >", value, "approvalNote");
            return (Criteria) this;
        }

        public Criteria andApprovalNoteGreaterThanOrEqualTo(String value) {
            addCriterion("approval_note >=", value, "approvalNote");
            return (Criteria) this;
        }

        public Criteria andApprovalNoteLessThan(String value) {
            addCriterion("approval_note <", value, "approvalNote");
            return (Criteria) this;
        }

        public Criteria andApprovalNoteLessThanOrEqualTo(String value) {
            addCriterion("approval_note <=", value, "approvalNote");
            return (Criteria) this;
        }

        public Criteria andApprovalNoteLike(String value) {
            addCriterion("approval_note like", value, "approvalNote");
            return (Criteria) this;
        }

        public Criteria andApprovalNoteNotLike(String value) {
            addCriterion("approval_note not like", value, "approvalNote");
            return (Criteria) this;
        }

        public Criteria andApprovalNoteIn(List<String> values) {
            addCriterion("approval_note in", values, "approvalNote");
            return (Criteria) this;
        }

        public Criteria andApprovalNoteNotIn(List<String> values) {
            addCriterion("approval_note not in", values, "approvalNote");
            return (Criteria) this;
        }

        public Criteria andApprovalNoteBetween(String value1, String value2) {
            addCriterion("approval_note between", value1, value2, "approvalNote");
            return (Criteria) this;
        }

        public Criteria andApprovalNoteNotBetween(String value1, String value2) {
            addCriterion("approval_note not between", value1, value2, "approvalNote");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}